]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st-theme-node-drawing: Don't use GL types
authorNeil Roberts <neil@linux.intel.com>
Fri, 23 Mar 2012 19:14:29 +0000 (19:14 +0000)
committerNeil Roberts <neil@linux.intel.com>
Wed, 25 Apr 2012 14:47:04 +0000 (15:47 +0100)
This swaps a use of GLfloat for a regular float. Cogl might stop
including a GL header in its public headers soon so this would fix a
compilation error.

https://bugzilla.gnome.org/show_bug.cgi?id=672711

src/st/st-theme-node-drawing.c

index cab25426004b11392201b06cc7c20ba4a6d201fd..1ac3e39b431e9b1d209a713cb05b610c78cd778b 100644 (file)
@@ -1782,7 +1782,7 @@ st_theme_node_paint_sliced_border_image (StThemeNode           *node,
   cogl_set_source (material);
 
   {
-    GLfloat rectangles[] =
+    float rectangles[] =
     {
       /* top left corner */
       0, 0, border_left, border_top,